import { ref} from 'vue'
import { defineStore } from 'pinia'
export const useInfoStore = defineStore('info',()=>{
    const sex = ref('');
    const name = ref('');
    const setSex = (newValue:string)=>{
        sex.value = newValue;
    }
    const setName = (newVale:string) => {
        name.value = newVale;
    }
    return {
        sex,
        name,
        setSex,
        setName
    }
})